<?php

class skillModel extends Model{
    public function skilldata(){
        $sql = "select * from summoner_spells";
        $data = $this->link->selectByAll($sql);
        return $data;
    }
    

    public function skilldilis($skid){
        $sql = "select * from summoner_spells where id = $skid";
        $data = $this->link->selectByAll($sql);
        return $data;
    }
}